<%@ LANGUAGE="VBSCRIPT" %>
<%'  ------------------------------------------------------------
  '  security.asp 
  '  ------------------------------------------------------------
  '  VCS INFO:
  '  
  '  $Revision:   1.8  $
  '  $Date:   05 Aug 1999 17:25:08  $
  '  $Author:   shsieh  $
  '  $Workfile:   security.asp  $
  '  ------------------------------------------------------------
  '  All Rights Reserved.  Copyright (c) 1988-1998 FileNET Corp.
  '  ------------------------------------------------------------
  '%>
<% 'If the user is not logged on, redirect to the Logon page.
RedirectToLogon = 1 %>
<!-- #include file="islogon.asp" -->

<%
'This security page can be used for Folder or Document, depending on the Type value
'passed in.
ObjType = CInt(Request.QueryString("Type"))
Ident = Request.QueryString("Ident")
%>

<HTML>
<HEAD>
  <META NAME="GENERATOR" CONTENT="Adobe PageMill 2.0 Mac">
  <TITLE>FileNET Panagon IDM Security Page</TITLE>
</HEAD>
<FRAMESET BORDERCOLOR="#ffffff" BORDER=1 FRAMEBORDER=0 ROWS="85,*">
<FRAME SRC="secbanner.asp?Type=<%=ObjType%>" NAME="SecBanner" MARGINWIDTH=1 SCROLLING=NO NORESIZE>

<% 
'Panagon IDM Web application uses the Session variable LibraryLogonID to keep track of
'whether the user has logged on.
'Please see logoncall.asp to see how the Session variable LibraryLogonID is set.
LibraryLogonID = Session("LibraryLogonID")
Set LibraryObj = Server.CreateObject("IDMObjects.Library")
LibraryObj.LogonId = LibraryLogonID

if LibraryObj.SystemType = Application("idmSysTypeIS") then %>
<FRAME SRC="blank.htm" NAME="PropContent" MARGINWIDTH=1 NORESIZE>
<% else
	bModify = CInt(Request("Modify"))
	if bModify = 1 then
%>
<FRAME SRC="mz_seccontent.asp?Type=<%=ObjType%>&Ident=<%=Ident%>" NAME="PropContent" MARGINWIDTH=1 NORESIZE>
	<% else %>
<FRAME SRC="seccontent.asp?Type=<%=ObjType%>&Ident=<%=Ident%>" NAME="PropContent" MARGINWIDTH=1 NORESIZE>
	<% end if %>
<% end if %>
<NOFRAMES>
<BODY>
Viewing this page requires a browser capable of displaying frames.
</BODY>
</NOFRAMES>
</FRAMESET>
</HTML>


